home *** CD-ROM | disk | FTP | other *** search
- ******************************************************************
- * *
- * The Virus Detection File System *
- * *
- * Version 1.0 *
- * *
- * Written by and Copyright Philip A. Conroy *
- * *
- * Release Date 14th March 1994 *
- * *
- ******************************************************************
-
- Distribution.
-
- This program is freely distributable, but it must be distributed
- with this documentation, It may be put onto CD-ROM distributions,
- e.g. Aminet CD, Fish CD, etc, and I'd like a free copy if possible,
- since I just got my cdrom drive :-) and haven't got any cd's yet,
- well apart from the free one on this months amiga user :-(
- Maybe if someone with a workbench license distributes it on cd they
- could link it ready for use, (you'll have to check your license of
- course, I won't be responsible for this...) (and don't forget to
- include the unlinked version in case anyone wants to use it with
- other filesystems.)
- It is NOT Public Domain however and you may not modify it in any way.
- You may NOT SELL this program however, and it may not be included
- with any commercial program without prior permission but a normal
- distribution/copying fee as used by PD places is acceptable.
-
-
- BTW. Feel free to send suggestions, bug reports, a note to say you use it,
- dat drives, hard drives, floppy disks, cd's etc. :-) (in fact anything
- except bills ;-)
-
- Fix's/enhancements will probably take a while though as I'm very busy with
- my CSSD Msc. course at the moment.
-
- My address
-
- email (Internet/Janet)
- P.A.Conroy@newcastle.ac.uk
-
- smail
-
- Philip Conroy
- 205 Hawthorn road
- Ashington
- Northumberland
- NE 63 OQU
- England
-
- System Requirements.
-
- An amiga with a Rigid disk block (RDB) compatible hard drive
- with enough space left in the RDB to install a new filesystem.
-
- e.g. A1200 with HD, A4000, A2000 with HD A500/Plus with A590 A600 HD etc.
-
-
- What is it then?
-
- This program (VDFS) is a virus detection system which is linked
- with your existing filesystem, then placed on the rigid disk block
- of you hard disk. Therefore whenever the hard disk partition used
- is active and something becomes reset proof you should get an alert within
- 3 seconds (try mounting rad: after installing it.) Note you don't need
- to boot from your hard disk and this program is started even if you
- don't execute your startup sequence or you boot from a floppy disk!!!
-
- Note this program is just intended to detect the resident, you can then
- use a "big" virus killer to investigate/fix the problem.
-
- Note it will also warn you on each reboot that your residents have been
- altered if they are not clear.
-
- TECH Note, It currently checks ColdCapture, CoolCapture and KickTagPtr,
- but not KickMemPtr( a mem allocation isn't a threat is it?)
- keyboard reset handlers, MMU tables, and the f00000-f7ffff area.
-
- To install the filesystem it should first be linked with the file system
- you are already using, to do this you need to have a linker (which should
- be available at any freely distributable software place), then use the
- linker to link first VirusDetectionFileSystemV1.0 then your existing
- filesystem e.g. l:fastfilesystem (normally in the l directory of the install
- disk for workbench 2.04+)
-
- e.g. using blink
-
- cd VDFS1.0
- blink VirusDetectionFileSystemV1.0 l:FastFileSystem to l:VirusDetectionFastFileSystem
-
- The program is then installed as a file system on the rigid disk block(RDB)
- of you hard drive, to use it you must first install the file system, then
- set one of your partitions to use the filesystem, this can be carried out in
- HDtoolbox as described below. Similar procedures should also exist
- for other hard disk partitioning software (consult you hard disk manual)
-
-
- ***************************************************************************
- Make a backup of you hard disk, as I won't be held responsible for any data
- loss, I have done this lots of times though without any problems at all.
- But its better to be safe. Also if you have a utility which will backup
- your RDB use it, as it could save you having to restore your backup.
- Remember there's always the possibility of a power failure just as you
- write your RDB etc. I've done this lots of time without a backup though.
- ***************************************************************************
-
- Note indentation, shows changing displays.
-
- Start HDToolbox
- Select Partition Drive
- Select Advanced Options
- Select Add/Update
- Select Add new file system...
- Enter l:VirusDetectionFastFileSystem
- Select OK
- Change Dostype to 0x444f53fe
- Select ok
- Select ok
- Select the partition you which to use VDFS on, dh0 etc.
- Select change
- Select Custom Filesystem
- Enter 0x444f53fe in the identifier box.
- Select ok
- Select ok
- Select Save changes to drive
- Select continue to commit changes (note the warning about destroying data
- in the partition is normal no data is destroyed but due to the change of
- filesystem the system thinks you will no longer could read it, but of
- course you linked the file system you were using to the vdfs system so
- there should be no problem.) (but I won't be responsible, be careful
- that you don't accidently alter your partition sizes etc while doing this.)
- Select Exit
- Select Continue to reboot
-
- Note it it says you have insufficient room in your rigid disk block for
- the new filesystem, the only way is to repartition with a bigger rigid
- disk block, consult your hard disk manual for details.
-
- The system should then restart with the virus detection filesystem running.
- (try mounting rad to test it.)
-
-
- If for some reason the system keeps crashing during booting for some unkown
- reason, select the boot menu by holding down both mouse buttons (requires
- kickstart 2.0+) and disable the partition you selected the filesystem for,
- then boot from floppy disk, or another hard disk partition if you have a
- different partition that is bootable, and run hdtoolbox again, and set the
- filesystem identifier back to what it was before e.g. select partition,
- advanced options, change, fastfilesystem (or whatever you where using.),
- then ok, ok, save change to drive, and confirm the destroy data again, and
- things should return to normal.
-
- If it doesn't restore your RDB if you made a backup.
-
- Otherwise repartition your hard disk and reformat your partitions and
- restore the backup you made at the beginning (you did make one didn't you!)
-
- If you didn't make the backup, panic ;-) , actually all your data should
- still be there so don't reformat, if you can't get the partitions set
- correctly again (try consulting someone who knows about hdtoolbox...)
- there are harddisk recovery programs which can recover your data even
- without the partition tables being correct.
-
- If it doesn't work on your system, maybe you could send me full details
- of your system, so I can try to fix it, and maybe put a warning in the
- documentation that there are problems with that system.
-
- This program has been tested on
-
- A500 Plus and A590 and MegaMidgetRacer and Quantum scsi hard drive
- kickstart 2.04 2 meg chip 2meg fast 4 meg 32 bit 33Mhz 030.
- A500 and A590 1Meg chip and Quantum scsi hard drive, kickstart 1.3
- A4000/040 2 Meg Chip +8 Meg fast ram,
- 540Mb western digital hard drive(IDE).
- A4000/040 2 Meg Chip + 8 Meg fast ram,
- 540Mb western digital hard drive(IDE).
- Fastlane Z3 with Quantum 105lps and Apple CD300
- Filesystem on Quantum partition.
-
- TODO:
-
- Support to use ROM filesystems so that you can use fastfilesystem without
- linking.
-
- Make it only start one task if it is used on more than one partition, so
- that you can add it to all your partitions, and it will be active if any
- are active
-
- Make it give a different message on reboot so you know it hasn't just
- changed but it is set.
-
- A nice vector check screen during reboot, with deep scan of all library
- and device offsets since they should almost certainly point to ROM
- during reboot (except maybe scsi.device etc.)
-
- Calling of a standard startup script/program, so you can start up
- other utilities etc that you like running all the time.
- e.g. select speedramsey, or turn on the fastlane z3 buster 11 highspeed
- option, start a virus killer etc.
-
- Check for keyboard reset handlers. (viruses for big amigas only?)
-
- Check for MMU tables which cover location 4 and leave the real location
- 4 pointing at a different exec base maybe with a virus....
-
- A cold reboot option?
-
- Addmem during startup ?
-
- Auto call up for my big virus killer when/if it gets done....
-
- Options to ignore some residents?
-
- Program to remove it from memory? maybe a virus could use this?
- Is there a point? maybe when it takes more than 1k?
-
- CDRom audio auto play on startup ?
-
- Recognise some specific viri ?
-
- Nicer documentation :-)
-
-
- Feel free to make suggestions, or rate how important you think the above
- are, I'm very busy at the moment with my CSSD (Computer systems and software
- design) Msc, so changes may take a while, everything above probably won't
- get done.
-
- Philip
-
-